package com.fjeld.middleware.activemq;

/**
 * Created by IntelliJ IDEA.
 * User: fjelds
 * Date: Jan 18, 2010
 * Time: 10:39:53 PM
 *
 * Enums for middleware
 */
public enum BrokerEnum
{
    ServerPublisherTopicString("server.publish"),
    ServerListenerTopicString("server.listen"),
    BrokerName("NODE_BROKER"),
    HostPort("6161"),
    HostName("localhost"),
    BrokerURL("tcp://" + HostName.getValue() + ":" + HostPort.getValue());
    //BrokerURL("vm://" + BrokerName.getValue());

    private String value;

    private BrokerEnum(String value)
    {
        this.value = value;
    }

    public String getValue()
    {
        return value;
    }
}
